package com.think.teaching.service;

import com.think.teaching.model.Tag;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程标签 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface TagService extends IService<Tag> {
	
	Tag AddTag(Tag Tag);

	Tag UpdateTag(Tag Tag);

	Tag GetTag(Integer id,Boolean withoutBan);

	List<Tag> ListTagSearch(String key , Integer type, Boolean withoutBan);

	Tag SetTagState(Integer id, Integer state);

	IPage<Tag> ListTagWithTagAndType( Integer count, Integer page, Integer type,
			Boolean withoutDelete);
}
